/*
 * ts.h
 *
 *  Created on: 04/07/2011
 *      Author: McEdd
 */

#ifndef TS_H_
#define TS_H_
/* Data type for links in the chain of symbols. */
struct token {
   int type;
   double granule;
   unsigned serial, page; 
   int nsegment;
   int *segments;
   unsigned int datasize;
   char *data;
   struct token *next;
};

struct tabla{
	
	struct token *inicio;
	struct token *fin;
	
};

struct bloque{
	float timecode;
	int frames;
	int size;
	char *data;
	struct bloque *next;
	
};

struct tbloque{
	
	struct bloque *inicio;
	struct bloque *fin;
	
};

struct CodigoPrivado{
	int byt;
	int *len;
	char * data;
};

typedef struct tbloque tbloque;

typedef struct bloque bloque;

typedef struct tabla tabla;

typedef struct token token;

/* The symbol table: a chain of ‘struct symrec’. */



#endif /* TS_H_ */
